package com.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 物料输入类
 */
  @Data
  @EqualsAndHashCode(callSuper = false)
    public class MaterialInput implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "material_input_id", type = IdType.AUTO)
    private Integer materialInputId;

    //物料Id
    private Integer materialId;
    //物料代码
    private String materialCode;
    //物料名称
    private String materialName;
    //批次号
    private String batchNo;
    //采购单号
    private String orderId;
    //供应商Id
    private Integer supplierId;
    //供应商名称
    private String supplierName;
    //仓库Id
    private Integer storageId;
    //仓库名称
    private String storageName;
    //规格型号
    private String style;
    //单位名称
    private String unitName;
    //订单需要的物料数量
    private BigDecimal orderCount;
    //用户名
    private String userName;
    //到货日期
    private LocalDateTime orderDate;
    //订单状态
    private Integer status;
    //订单号
    private String orderNo;


}
